﻿using System;

namespace Shell.PocoDot
{
    /// <summary>
    /// 表示两个 PocoDot 之间关系的实体类
    /// </summary>
    public class Relation : PocoDotBase
    {
        /// <summary>
        /// 获取或设置主 PocoDot 的标识
        /// </summary>
        public Guid MainId { get; set; }

        /// <summary>
        /// 获取或设置主 PocoDot 的名称
        /// </summary>
        public string MainName { get; set; }

        /// <summary>
        /// 获取或设置从 PocoDot 的标识
        /// </summary>
        public Guid RelatedId { get; set; }

        /// <summary>
        /// 获取或设置从 PocoDot 的名称
        /// </summary>
        public string RelatedName { get; set; }
    }
}
